package Tool;

import Javabean.Staff;

import java.util.ArrayList;

public class Arraylist_Staff_Delete {
    public static void staffDelete(ArrayList<Staff> staffs, int Id) {
        //根据传入的职工Id，删除传入的集合staffs中职工ID相对应的职工
        staffs.remove(Id - 1);
    }
}
